﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003C9 RID: 969
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DifficultyAdjustmentGetDataScRsp : IMessage<DifficultyAdjustmentGetDataScRsp>, IMessage, IEquatable<DifficultyAdjustmentGetDataScRsp>, IDeepCloneable<DifficultyAdjustmentGetDataScRsp>, IBufferMessage
	{
		// Token: 0x17000C64 RID: 3172
		// (get) Token: 0x06002B48 RID: 11080 RVA: 0x00077613 File Offset: 0x00075813
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DifficultyAdjustmentGetDataScRsp> Parser
		{
			get
			{
				return DifficultyAdjustmentGetDataScRsp._parser;
			}
		}

		// Token: 0x17000C65 RID: 3173
		// (get) Token: 0x06002B49 RID: 11081 RVA: 0x0007761A File Offset: 0x0007581A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DifficultyAdjustmentGetDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C66 RID: 3174
		// (get) Token: 0x06002B4A RID: 11082 RVA: 0x0007762C File Offset: 0x0007582C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DifficultyAdjustmentGetDataScRsp.Descriptor;
			}
		}

		// Token: 0x06002B4B RID: 11083 RVA: 0x00077633 File Offset: 0x00075833
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentGetDataScRsp()
		{
		}

		// Token: 0x06002B4C RID: 11084 RVA: 0x00077646 File Offset: 0x00075846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentGetDataScRsp(DifficultyAdjustmentGetDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.contentPackageList_ = other.contentPackageList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002B4D RID: 11085 RVA: 0x0007767C File Offset: 0x0007587C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentGetDataScRsp Clone()
		{
			return new DifficultyAdjustmentGetDataScRsp(this);
		}

		// Token: 0x17000C67 RID: 3175
		// (get) Token: 0x06002B4E RID: 11086 RVA: 0x00077684 File Offset: 0x00075884
		// (set) Token: 0x06002B4F RID: 11087 RVA: 0x0007768C File Offset: 0x0007588C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000C68 RID: 3176
		// (get) Token: 0x06002B50 RID: 11088 RVA: 0x00077695 File Offset: 0x00075895
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<JLLIFGDBMIO> ContentPackageList
		{
			get
			{
				return this.contentPackageList_;
			}
		}

		// Token: 0x06002B51 RID: 11089 RVA: 0x0007769D File Offset: 0x0007589D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DifficultyAdjustmentGetDataScRsp);
		}

		// Token: 0x06002B52 RID: 11090 RVA: 0x000776AC File Offset: 0x000758AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DifficultyAdjustmentGetDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.contentPackageList_.Equals(other.contentPackageList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002B53 RID: 11091 RVA: 0x000776FC File Offset: 0x000758FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.contentPackageList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002B54 RID: 11092 RVA: 0x00077749 File Offset: 0x00075949
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002B55 RID: 11093 RVA: 0x00077751 File Offset: 0x00075951
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002B56 RID: 11094 RVA: 0x0007775C File Offset: 0x0007595C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			this.contentPackageList_.WriteTo(ref output, DifficultyAdjustmentGetDataScRsp._repeated_contentPackageList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002B57 RID: 11095 RVA: 0x000777AC File Offset: 0x000759AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.contentPackageList_.CalculateSize(DifficultyAdjustmentGetDataScRsp._repeated_contentPackageList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002B58 RID: 11096 RVA: 0x00077800 File Offset: 0x00075A00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DifficultyAdjustmentGetDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.contentPackageList_.Add(other.contentPackageList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002B59 RID: 11097 RVA: 0x0007784D File Offset: 0x00075A4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002B5A RID: 11098 RVA: 0x00077858 File Offset: 0x00075A58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.contentPackageList_.AddEntriesFrom(ref input, DifficultyAdjustmentGetDataScRsp._repeated_contentPackageList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400111B RID: 4379
		private static readonly MessageParser<DifficultyAdjustmentGetDataScRsp> _parser = new MessageParser<DifficultyAdjustmentGetDataScRsp>(() => new DifficultyAdjustmentGetDataScRsp());

		// Token: 0x0400111C RID: 4380
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400111D RID: 4381
		public const int RetcodeFieldNumber = 8;

		// Token: 0x0400111E RID: 4382
		private uint retcode_;

		// Token: 0x0400111F RID: 4383
		public const int ContentPackageListFieldNumber = 11;

		// Token: 0x04001120 RID: 4384
		private static readonly FieldCodec<JLLIFGDBMIO> _repeated_contentPackageList_codec = FieldCodec.ForMessage<JLLIFGDBMIO>(90U, JLLIFGDBMIO.Parser);

		// Token: 0x04001121 RID: 4385
		private readonly RepeatedField<JLLIFGDBMIO> contentPackageList_ = new RepeatedField<JLLIFGDBMIO>();
	}
}
